<template>
	<view class="main-btn bg-main py-2 text-white font-md flex align-center justify-center" hover-class="bg-main-hover" @click="$emit('click')">
		<slot></slot>
	</view>
</template>

<script>
	export default {
		name:"main-button",
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
.main-btn {
	width: 100%;
	border-radius: 50rpx;
}
</style>